﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace Chat_Model
{
    /// <summary>
    /// 文章分类表
    ///</summary>
    [SugarTable("lar_article_class")]
    public class LarArticleClass
    {
        /// <summary>
        /// 文章分类ID 
        ///</summary>
         [SugarColumn(ColumnName="id" ,IsPrimaryKey = true ,IsIdentity = true  )]
         public int Id { get; set; }
        /// <summary>
        /// 用户ID 
        /// 默认值: 0
        ///</summary>
         [SugarColumn(ColumnName="user_id"    )]
         public int UserId { get; set; }
        /// <summary>
        /// 分类名 
        /// 默认值: 
        ///</summary>
         [SugarColumn(ColumnName="class_name"    )]
         public string ClassName { get; set; }
        /// <summary>
        /// 排序 
        /// 默认值: 0
        ///</summary>
         [SugarColumn(ColumnName="sort"    )]
         public int Sort { get; set; }
        /// <summary>
        /// 默认分类1:是 0:不是 
        /// 默认值: 0
        ///</summary>
         [SugarColumn(ColumnName="is_default"    )]
         public int IsDefault { get; set; }
        /// <summary>
        /// 创建时间 
        /// 默认值: 0
        ///</summary>
         [SugarColumn(ColumnName="created_at"    )]
         public string CreatedAt { get; set; }
    }
}
